home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / dev / gui / ClassFree_src.lha / ClassFree_src / CFscrollerclass / CFbutton.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-01  |  917 b   |  32 lines

  1. #ifndef CFBUTTON_H
  2. #define CFBUTTON_H
  3. /* Public definitions for CFbuttonclass */
  4.  
  5. #define CFbuttonClassName "CFbuttongclass"
  6.  
  7. #define CFBU_Dummy        (TAG_USER + 0x3a000)
  8. #define CFBU_Layout       (CFBU_Dummy + 0x0001)
  9.  
  10. /*
  11.   The layout approach has changed
  12.  
  13. #define CFBU_Textposflags   (CFBU_Dummy + 0x0001)
  14. #define CFBU_Imageposflags  (CFBU_Dummy + 0x0002)
  15. #define CFBU_Textrestraint  (CFBU_Dummy + 0x0003)
  16. */
  17.  
  18. /* Positioning flags for CFBU_Layout */
  19.  
  20. #define LAYOUT_AUTO         0
  21. #define LAYOUT_TXTLEFT     (1L<<0)
  22. #define LAYOUT_TXTRIGHT    (1L<<1)
  23. #define LAYOUT_TEXT        (LAYOUT_TXTLEFT|LAYOUT_TXTRIGHT) /* Mainly internal use. */
  24. #define LAYOUT_IMGABOVE    (1L<<2)
  25. #define LAYOUT_IMGBELOW    (1L<<3)
  26. #define LAYOUT_IMGLEFT     (1L<<4)
  27. #define LAYOUT_IMGRIGHT    (1L<<5)
  28. #define LAYOUT_IMAGE       (LAYOUT_IMGABOVE|LAYOUT_IMGBELOW|LAYOUT_IMGLEFT|LAYOUT_IMGRIGHT)
  29. #define LAYOUT_IMGREL      (1l<<6)
  30.  
  31. #endif
  32.